added samples
[windows-sources.git] / sdk / samples / all in on code / Visual Studio 2010 / VBSL4DataFormCancelButton / MainPage.xaml
blob5866e3c766a30af84260f0b0b556d7ebcfdc2c6b
1 <UserControl xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"  x:Class="VBSL4DataFormCancelButton.MainPage"
2     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4     xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
5     xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
6     mc:Ignorable="d"
7     d:DesignHeight="300" d:DesignWidth="400">
9     <Grid x:Name="LayoutRoot" Background="White">
10         <ScrollViewer>
11             <toolkit:DataForm x:Name="myDataForm" CancelButtonContent="Cancel Edit" CommandButtonsVisibility="All" Width="400" Height="300" Header="Show Cancel Button Sample"/>
12         </ScrollViewer>
13     </Grid>
14 </UserControl>